automatic dep resolution fails with link loops
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
I'm building a snap that depends on libsdl2, which depends on several X11 packages. One of these packages installs `/usr/bin/X11/` and `/usr/bin/X11/X11`, which is a link to `.`. When snapcraft encounters this structure and tries to copy it into the snap, it fails:
"'/myapp/package/parts/love/install/usr/bin/X11' and '/myapp/package/stage/usr/bin/X11/X11' are the same file"
Evaluation history
No evaluation history available.